package com.liang.project.common;

import javax.validation.GroupSequence;
import javax.validation.groups.Default;

/**
 * Validation 参数校验顺序组
 *
 * @author : liangzy
 */
@GroupSequence({ValidationOrder.Step1.class,
        ValidationOrder.Step2.class,
        ValidationOrder.Step3.class,
        ValidationOrder.Step4.class,
        ValidationOrder.Step5.class,
        Default.class})
public interface ValidationOrder {
    interface Step1 {
    }

    interface Step2 {
    }

    interface Step3 {
    }

    interface Step4 {
    }

    interface Step5 {
    }
}
